﻿using Abp.Application.Services.Dto;
using System;

namespace HCD.Mdt.Dtos
{
    public class MdtOrderDto : EntityDto<long>
    {
        /// <summary>
        /// 病人标识
        /// </summary>
        public string PatientId { get; set; }

        /// <summary>
        /// 就诊标识(住院VisitId门诊ClinicNo)
        /// </summary>
        public string VisitId { get; set; }

        /// <summary>
        /// 会诊ID
        /// </summary>
        public string MdtId { get; set; }

        /// <summary>
        /// 医嘱号
        /// </summary>
        public int OrderNo { get; set; }

        /// <summary>
        /// 子医嘱序号
        /// </summary>
        public int OrderSubNo { get; set; }

        /// <summary>
        /// 模版类型（处方/医嘱）
        /// </summary>
        public int TemplateType { get; set; }

        /// <summary>
        /// 医嘱类别
        /// </summary>
        public string OrderClass { get; set; }

        /// <summary>
        /// 药品类型
        /// </summary>
        public string DrugClass { get; set; }

        /// <summary>
        /// 长临
        /// </summary>
        public string RepeatIndicator { get; set; }

        /// <summary>
        /// 医嘱正文
        /// </summary>
        public string OrderText { get; set; }

        /// <summary>
        /// 医嘱代码
        /// </summary>
        public string OrderCode { get; set; }

        /// <summary>
        /// 项目;药品)规格
        /// </summary>
        public string Spec { get; set; }

        /// <summary>
        /// 药品单次使用剂量/数量（处方）
        /// </summary>
        public string Dosage { get; set; }

        /// <summary>
        /// 用量单位/数量单位（处方）
        /// </summary>
        public string DosageUnits { get; set; }

        /// <summary>
        /// 药品厂家
        /// </summary>
        public string FirmId { get; set; }

        /// <summary>
        /// 频次
        /// </summary>
        public string Frequency { get; set; }

        /// <summary>
        /// 途径
        /// </summary>
        public string Administration { get; set; }

        /// <summary>
        /// 疗程（处方）
        /// </summary>
        public int Duration { get; set; }

        /// <summary>
        /// 疗程单位
        /// </summary>
        public string DurationUnits { get; set; }
    
        /// <summary>
        /// 医生说明
        /// </summary>
        public string FreqDetail { get; set; }

        /// <summary>
        /// 检验/检查子类
        /// </summary>
        public string SubClass { get; set; }

        /// <summary>
        /// 检查目的
        /// </summary>
        public string ExamReason { get; set; }

        /// <summary>
        /// 检查部位
        /// </summary>
        public string Examepart { get; set; }

        /// <summary>
        /// 检验标本
        /// </summary>
        public string Specimen { get; set; }

        /// <summary>
        /// 执行状态
        /// </summary>
        public string PerformStatus { get; set; }

        /// <summary>
        /// 执行医嘱流水号
        /// </summary>
        public string PerformOrderNo { get; set; }

        /// <summary>
        /// 创建人(开单医生Code)
        /// </summary>
        public string CreatedBy { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string CreatedByName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdatedTime { get; set; }
    }
}
